home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
lang
/
rcs567pc
/
rcsfront
/
makefile
< prev
next >
Wrap
Makefile
|
1994-12-09
|
1KB
|
50 lines
# Makefile for rcsfront
# default target
default:
@echo "Available targets:"
@echo " emx emx-debug emxdos"
@echo " msc msc-debug mscdos"
# emx 0.9 (gcc) -> 32-bit OS/2 executables
emx:
$(MAKE) all CC="gcc -Zomf -Zmt -O" \
LDFLAGS="-s -Zstack 512 -Zcrtdll" O=".obj" DEF="cio.def"
emx-debug:
$(MAKE) all CC="gcc -g" LDFLAGS="" O=".o"
# emx 0.9 (gcc) -> 32-bit DOS executables
emxdos:
$(MAKE) all CC="gcc -O" LDFLAGS="-s" O=".o" EXTRA="pipe.o"
# Microsoft C 6.00A -> 16-bit OS/2 (and DOS, family mode) executables
msc:
$(MAKE) all CC="cl -nologo -AS -W1 -J -Zap -G2s -Ocegt" \
LDFLAGS="setargv.obj -Lp -F 4000 -link /noe" O=".obj" \
EXTRA="pipe.obj" DEF="cio.def"
msc-debug:
$(MAKE) all CC="cl -nologo -AS -W1 -J -Ziap -G2 -Od" \
LDFLAGS="setargv.obj -Lp -F 4000 -link /noe" O=".obj" \
EXTRA="pipe.obj"
# Microsoft C 6.00A -> 16-bit DOS-only executables
mscdos:
$(MAKE) all CC="cl -nologo -AS -W1 -J -Zap -G2s -Ocegt" \
LDFLAGS="setargv.obj -Lr -F 4000 -link /noe" O=".obj" \
EXTRA="pipe.obj"
CFLAGS = -DOS2
all: cii.exe coo.exe
.SUFFIXES: .c $O
.c$O:
$(CC) $(CFLAGS) -c $*.c
cii.exe: cii$O $(DEF)
$(CC) cii$O -o $@ $(DEF) $(LDFLAGS)
coo.exe: cio$O $(EXTRA) $(DEF)
$(CC) cio$O $(EXTRA) -o $@ $(DEF) $(LDFLAGS)